home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Prog / B-C / C++ FAQ Reference 1.0.sit / C++ FAQ Reference 1.0.rsrc / TEXT_929.txt < prev    next >
Encoding:
Text File  |  1993-06-30  |  348 b   |  3 lines

  1. Declaring the 'constness' of a parameter is just another form of type safety.  It is almost as if a constant String, for example, 'lost' its various mutative operations.  If you find type safety helps you get systems correct (especially large systems), you'll find const correctness helps also.
  2.  
  3. Short answer: yes, const correctness is a good goal.